#	Index: OSLib/!OsLib/Tools/DefMod2/defmod/Build_RISCOS/AMUmakefile	20040223
# AMUmakefile for DefMod2 build for and under RISC OS

ALL		= ${TARGET}
TARGET 	    	= DefMod
VPATH		= ^.sources <OSLib$ToolsDir>.support
DEFINES     	= RISCOS EXECUTE_ON_RISCOS YYDEBUG=0 USE_OBJASM
INCLUDES    	= ^.sources C: <OSLib$ToolsDir> <OSLib$ToolsDir>.support
LIBS  		= C:o.Stubs

ASMINCLUDES 	= <OSLib$ToolsDir>.oslib

YACC  = OSLibBin:bison


#Lists of derived objects
C = \
c.defmod

MODULES = \
defmod \
asmhelp \
callback \
chelp \
def \
cheader \
hdr \
lookup \
objasm \
realloc \
resource \
riscos \
riscosa \
cstrong \
x

TRACEMODULES = \
trace \
m

EXTRAOBJS	= ${C}

.include <OSLib$ToolsDir>.AMUmakefile/source

#------------------------------------------------------------------------
#internal targets
.SUFFIXES:	.o .c .y .s

defmod.o:	defmod.c
      	    	${CC} defmod.c -o defmod.o

c.defmod: 	y.defmod
		${MD} c
		${YACC} -o c.defmod ^.sources.y.defmod

#------------------------------------------------------------------------
# Dynamic dependencies:
